﻿using System.ComponentModel.DataAnnotations;

namespace K9Nano.Admin.Weixin.Dto
{
    public class WeixinMpLoginModel
    {
        [Required(ErrorMessage = "{0}不能为空")]
        public string ClientId { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        public string AppId { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        public string OpenId { get; set; }

        public string UnionId { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        public string ReturnUrl { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "签名")]
        public string Sign { get; set; }
    }
}